#!/bin/bash

path=../data/jul2018
exe=./ana
B=1.295

# 5mmC; B: 1.295, total: 100w
# 50w
$exe $path/20180711_1552.dat $path/20180711.008 -u0 -m$B

# 50w
$exe $path/20180711_2005.dat $path/20180711.009 -u0 -m$B

hadd -f C15TA.root 20180711_1552.dat_0.root 20180711_2005.dat_0.root

# emptyTA, total 88w
# 40w
$exe $path/20180711_2355.dat $path/20180711.011 -u0 -m$B

# emptyTA; 55w, events after 486800 are spoiled (PDC HV down after 06:34)
$exe $path/20180712_0251.dat $path/20180711.012 -f486800 -u0 -m$B

hadd -f C15NOTA.root 20180711_2355.dat_0.root 20180712_0251.dat_0.root
